/*! kungeekui */


/* 初始化  */


/* 滚动条样式 */

 ::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

 ::-webkit-scrollbar-thumb {
    background-color: rgba(50, 50, 50, 0.3);
}

 ::-webkit-scrollbar-track {
    background-color: rgba(50, 50, 50, 0.1);
}


/* 插件区  */


/* modal  */

#kungeek-modal .modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.11);
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.11);
    border: none;
}

#kungeek-modal .borderNone {
    border: none !important;
}


/* datagird */

.kungeek-datagrid-container {
    position: relative;
    width: 100%;
    overflow-y: auto;
    margin: 10px auto;
    border: 1px solid #dddddd;
    background-color: #f1f1f1;
}

.kungeek-datagrid-container::after {
    content: '';
    display: block;
    clear: both;
}

.kungeek-datagrid-wrap {
    position: relative;
    width: 100%;
    overflow-x: auto;
    float: left;
    z-index: 1;
    background-image: url('https://crmpre.kungeek.com/skin/images/common/logo.png');
    background-size: 147px 22px;
    background-position: 95% 95%;
    background-repeat: no-repeat;
}

.kungeek-datagrid-wrap.left-table-fiexd {
    border-right: 1px solid #ddd;
    z-index: 2;
    -webkit-transition: box-shadow .5s ease;
    transition: box-shadow .5s ease;
    overflow-x: hidden
}

.kungeek-datagrid-wrap.right-table-fiexd {
    border-left: 1px solid #ddd;
    z-index: 2;
    -webkit-transition: box-shadow .5s ease;
    transition: box-shadow .5s ease;
    overflow-x: hidden
}

.kungeek-datagrid-wrap.right-table-fiexd.showShadow,
.kungeek-datagrid-wrap.left-table-fiexd.showShadow {
    box-shadow: 0px 0 20px #d2d2d2;
}

.kungeekui-datagrid {
    position: relative;
    width: 100%;
    max-width: initial;
    min-width: initial;
    margin: 0;
    border: none;
    table-layout: fixed;
    background-color: white;
    box-shadow: 0px 0 20px #d2d2d2;
}

.kg-w-40 {
    width: 40px;
}

.kg-w-50 {
    width: 50px;
}

.kg-tc {
    text-align: center
}

.kg-checkbox {
    display: inline-block;
    width: 17px;
    height: 17px;
    position: relative;
    top: 2px;
}

.kg-checkbox input[type="checkbox"] {
    visibility: hidden;
    margin: 0
}

.kg-checkbox label {
    cursor: pointer;
    position: absolute;
    width: 17px;
    height: 17px;
    padding-left: 0;
    margin-top: -2px;
    top: 0;
    left: 0;
    border-radius: 2px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    margin-bottom: 0;
}

.kg-checkbox label:after {
    width: 12px;
    height: 7px;
    -ms-filter: "alpha(Opacity=0)";
    filter: alpha(opacity=0);
    display: none;
    opacity: 0;
    content: '';
    position: absolute;
    background: 0 0;
    top: 2px;
    left: 2px;
    border: 3px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-animation: zoomIn .5s ease;
    animation: zoomIn .5s ease;
}

.kg-checkbox input[type=checkbox]:checked+label {
    border-color: #0DB0E5;
    background-color: #0DB0E5;
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
}

.kg-checkbox input[type=checkbox]:checked+label:after {
    display: block;
    opacity: 1;
}

.kg-datagird-loader,
.kg-datagird-mask {
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: wait;
    overflow: hidden;
    z-index: 4;
}

.kg-datagird-mask {
    cursor: not-allowed;
}

.kg-datagird-loader .kg-datagird-loader-icon {
    width: 100px;
    height: 50px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


/*.kg-datagird-loader .kg-datagird-loader-icon::after {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 50px;
            height: 50px;
            border-left: 100px solid rgba(34, 183, 241, 0.47);
            border-top: 50px solid transparent;
            border-bottom: 50px solid transparent;
            animation: slideInLeft .5s ease infinite;
        }
        
        .kg-datagird-loader .kg-datagird-loader-icon::before {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            width: 50px;
            height: 50px;
            border-right: 100px solid rgba(34, 183, 241, 0.47);
            border-top: 50px solid transparent;
            border-bottom: 50px solid transparent;
            animation: slideInRight .5s ease infinite;
        }*/

.kungeekui-datagrid>tbody>tr {
    min-height: 100px
}

.kungeekui-datagrid>tbody>tr.hover {
    background-color: #f5f5f5
}

.kungeekui-datagrid>thead>tr>th,
.kungeekui-datagrid>tbody>tr>td {
    text-align: center;
    position: relative;
    height: 50px;
    padding: 0;
    min-width: 40px;
    vertical-align: middle;
}

.kungeekui-datagrid>thead>tr>th {
    border-bottom-width: 1px;
}

.kungeekui-datagrid>thead>tr>th:last-child,
.kungeekui-datagrid>tbody>tr>td:last-child,
.kungeekui-datagrid>tfoot>tr>td:last-child {
    border-right: none
}

.kungeekui-datagrid>thead>tr>th:first-child,
.kungeekui-datagrid>tbody>tr>td:first-child,
.kungeekui-datagrid>tfoot>tr>td:first-child {
    border-left: none
}

.kungeekui-datagrid>tbody>tr:last-child>td,
.kungeekui-datagrid>tfoot>tr:last-child>td {
    border-bottom: none
}

.kungeekui-datagrid>tfoot>tr>td {
    overflow: hidden;
}

.kungeekui-datagrid>thead>tr>th {
    word-break: keep-all;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.kungeekui-datagrid>thead>tr>th:hover,
.kungeekui-datagrid>thead>tr>th.isDraging {
    filter: alpha(opacity=100 finishopacity=50 style=1 startx=0, starty=0, finishx=0, finishy=150) progid: DXImageTransform.Microsoft.gradient(startcolorstr=red, endcolorstr=blue, gradientType=0);
    -ms-filter: alpha(opacity=100 finishopacity=50 style=1 startx=0, starty=0, finishx=0, finishy=150) progid: DXImageTransform.Microsoft.gradient(startcolorstr=red, endcolorstr=blue, gradientType=0);
    /*IE8*/
    background: white;
    /* 一些不支持背景渐变的浏览器 */
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(white), to(#e6e6e6));
    background: -o-linear-gradient(top, white, #e6e6e6);
}

.kungeekui-datagrid>thead>tr>th .kungeekui-datagrid-dragBtn {
    display: none;
    position: absolute;
    width: 10px;
    height: 100%;
    right: 0px;
    top: 0;
    cursor: e-resize;
    border-left: 1px solid #eaeaea;
    box-shadow: 1px 0px 1px white inset, 1px 0px 1px white inset, 1px 0px 1px white inset, 1px 0px 8px white inset;
}

.kungeekui-datagrid>thead>tr>th .kungeekui-datagrid-dragBtn::after {
    content: '';
    display: block;
    position: absolute;
    background-color: #bdbdbd;
    top: 40%;
    left: 6px;
    width: 1px;
    height: 13px;
    border-radius: 3px;
    box-shadow: 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white;
}

.kungeekui-datagrid>thead>tr>th .kungeekui-datagrid-dragBtn::before {
    content: '';
    display: block;
    position: absolute;
    background-color: #bdbdbd;
    top: 40%;
    left: 3px;
    width: 1px;
    height: 13px;
    border-radius: 3px;
    box-shadow: 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white, 0 0 1px white;
}

.kungeekui-datagrid>thead>tr>th:hover .kungeekui-datagrid-dragBtn,
.kungeekui-datagrid>thead>tr>th.isDraging .kungeekui-datagrid-dragBtn {
    display: block
}

.kungeekui-datagrid>thead>tr>th .kg-datagird-twrap,
.kungeekui-datagrid>tbody>tr>td .kg-datagird-twrap {
    display: block;
    min-width: 40px;
    padding: 8px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    /*padding-top: 15px;*/
    width: 100%;
    margin: 0 auto
}

.kungeekui-datagrid>tbody>tr>td .kg-datagird-twrap.kg-datagird-twrap-newline {
    white-space: normal
}


/*  .kungeekui-datagrid>tbody>tr>td .kg-datagird-twrap>a{
           color:#008ec5;
           transition:color .5s ease;
           -webkit-transition:all .5s ease;
        }
        .kungeekui-datagrid>tbody>tr>td .kg-datagird-twrap>a:hover{
        	color:#0dc1e5;
        	font-size:2em
        } */


/*.kungeek-datagrid-container.rendering>.kungeek-datagrid-wrap>.kungeekui-datagrid>tbody>tr>td>.kg-datagird-twrap {
            width: 0;
        }
        
        .kungeek-datagrid-container.rendered>.kungeek-datagrid-wrap>.kungeekui-datagrid>tbody>tr>td>.kg-datagird-twrap {
            position: absolute;
            width: 100%;
            top: 0;
        }*/

.kungeekui-datagrid>thead>tr>th.order::after,
.kungeekui-datagrid>thead>tr>th.order::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 5px solid #bdbdbd;
    border-left-color: transparent;
    border-right-color: transparent;
    right: 15px;
    display: none;
}

.kungeekui-datagrid>thead>tr>th.order:hover::after,
.kungeekui-datagrid>thead>tr>th.order:hover::before {
    display: block
}

.kungeekui-datagrid>thead>tr>th.order::before {
    top: 14px;
    border-top-color: transparent;
}

.kungeekui-datagrid>thead>tr>th.order::after {
    top: 26px;
    border-bottom-color: transparent;
}

.kungeekui-datagrid>thead>tr>th.orderDown::before {
    border-bottom-color: #bdbdbd
}

.kungeekui-datagrid>thead>tr>th.orderDown::after {
    border-top-color: #7d7d7d;
}

.kungeekui-datagrid>thead>tr>th.orderUp::before {
    border-bottom-color: #7d7d7d
}

.kungeekui-datagrid>thead>tr>th.orderUp::after {
    border-top-color: #bdbdbd;
}

.kungeek-datagrid-paging-wrap .kungeekui-datagrid-paging {
    padding: 10px;
    position: relative;
    background-color: white;
    border-top: 1px solid #dddddd;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.kungeek-datagrid-container .kg-paging-info {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.68);
    color: #6b6b6b;
    z-index: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.kungeek-datagrid-paging-wrap::before {
    content: '';
    display: block;
    clear: both;
}

.kungeek-datagrid-paging-wrap .kungeekui-datagrid-paging button,
.kungeek-datagrid-paging-wrap .kungeekui-datagrid-paging input,
.kungeek-datagrid-paging-wrap .kungeekui-datagrid-paging select,
.kungeek-datagrid-paging-wrap .kungeekui-datagrid-paging label,
.kungeek-datagrid-paging-wrap .kungeekui-datagrid-paging a {
    margin-left: 5px;
    clear: none;
    width: auto;
}

.kungeek-datagrid-paging-wrap .kungeekui-datagrid-paging label {
    font-weight: normal
}

.kungeek-datagrid-paging-wrap .kungeekui-datagrid-paging input {
    width: 80px
}

.kungeek-datagrid-paging-wrap .kungeekui-datagrid-paging button:active {
    color: #333;
    background-color: #ffffff;
    border-color: #cccccc;
    box-shadow: none;
}

.kungeekui-datagird-checkbox,
.kungeekui-datagird-order {
    text-align: center !important
}

.kungeekui-datagrid-fixed-thead {
    position: absolute;
    background-color: white;
    z-index: 2;
}

.kungeekui-datagrid-fixed-thead.active {
    box-shadow: 0 0 30px #d2d2d2
}

.kungeekui-datagrid-dragLine {
    display: none;
    position: absolute;
    width: 1px;
    background-color: #c1c1c1;
    left: 0;
    height: 100%;
    top: 0;
    z-index: 3;
}


/*DateSelect*/

.input-group.date {
    width: 100%;
}

.input-group.date>.kg-dateSelect {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.kg-dateSelect+.input-group-addon {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.kg-dateSelect+.input-group-addon+.kg-dateSelect {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.kg-dateSelect[readonly] {
    background-color: #f9f9f9;
}

.kg-dateSelect-board {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    margin: 2px 0 0;
    margin-top: 8px;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    min-width: 100px;
    max-width: 250px;
    padding: 8px;
    color: #565656;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-animation: fadeInUp .4s ease;
    animation: fadeInUp .4s ease;
}

.kg-dateSelect-board::before {
    content: '';
    position: absolute;
    display: block;
    top: -5px;
    left: 10%;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, .15);
    border-left: 1px solid rgba(0, 0, 0, .15);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.kg-dateSelect-board .board-top {
    width: 100%
}

.kg-dateSelect-board .board-top .board-type-cells {
    width: 100%;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
}

.kg-dateSelect-board .board-top .board-type-cells .board-type-cell {
    width: 100%;
    background: #eee;
    border-radius: 4px;
    color: #333;
    margin: 2px;
}

.kg-dateSelect-board .board-top .board-type-cells .board-type-cell:hover {
    background: #d8d8d8;
}

.kg-dateSelect-board .board-top .board-type-cells .board-type-cell:active {
    color: azure;
    box-shadow: none
}

.kg-dateSelect-board .board-top .board-type-cells .board-type-cell.active {
    background: #27a9e3;
    color: white;
    box-shadow: none
}

.kg-dateSelect-board .board-middle {
    width: 100%;
    text-align: center;
    padding: 3px;
}

.kg-dateSelect-board .board-middle.week {
    padding: 0 10%;
    display: flex;
}

.kg-dateSelect-board .board-middle>p {
    margin: 0;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

.kg-dateSelect-board .board-middle.week>label {
    line-height: 20px;
    width: 14%;
    height: 23px;
    margin: 0;
}

.kg-dateSelect-board .board-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    position: relative
}

.kg-dateSelect-board .board-content .board-tab {
    width: 10%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer
}

.kg-dateSelect-board .board-content .board-tab:hover {
    background-color: #eee;
    border-radius: 4px;
}

.kg-dateSelect-board .board-content .board-cells {
    width: 80%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
}

.kg-dateSelect-board .board-content .board-cells.copy {
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

.kg-dateSelect-board .board-content .board-cells .board-cell {
    width: 23%;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    margin: 1%;
    text-align: center;
    padding: 0;
    line-height: 48px;
    color: #333;
}

.kg-dateSelect-board .board-content .board-cells .board-cell-big {
    width: 48%;
}

.kg-dateSelect-board .board-content .board-cells .board-cell-sm {
    line-height: 20px;
    width: 14%;
    height: 23px;
    margin: 1% 0;
}

.kg-dateSelect-board .board-content .board-cells .board-cell-disabled {
    background-color: #f7f7f7;
    cursor: not-allowed;
    border-radius: 0;
}

.kg-dateSelect-board .board-content .board-cells .board-cell.borad-cell-now {
    border: 1px solid #e0e0e0;
}

.kg-dateSelect-board .board-content .board-cells .board-cell:hover {
    background-color: #eee;
    color: #333;
}

.kg-dateSelect-board .board-content .board-cells .board-cell:active {
    background-color: #eee;
    color: #333;
    box-shadow: none;
}

.kg-dateSelect-board .board-content .board-cells .board-cell.active {
    background: #27a9e3;
    color: white;
    box-shadow: none
}